/*
 * fv3tk
 * Copyright (C) 2009  John Pritchard, jdp@syntelos.org
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package fv3tk.hid;

/**
 * Button down event ordinals
 * 
 */
public interface Button
    extends InputEvent
{
    public final static int ButtonEventClass  = 0x10000;

    public final static int Button1  = (ButtonEventClass | 0x1);
    public final static int Button2  = (ButtonEventClass | 0x2);
    public final static int Button3  = (ButtonEventClass | 0x3);
    public final static int Button4  = (ButtonEventClass | 0x4);
    public final static int Button5  = (ButtonEventClass | 0x5);
    public final static int Button6  = (ButtonEventClass | 0x6);
    public final static int Button7  = (ButtonEventClass | 0x7);
    public final static int Button8  = (ButtonEventClass | 0x8);
    public final static int Button9  = (ButtonEventClass | 0x9);
    public final static int Button10 = (ButtonEventClass | 0xa);

    public boolean isButton();
}
